VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor Namespace / OpenXmlDocumentElement Class / GetParent<T>() Method
Syntax Requirements SeeAlso
In This Topic
    GetParent<T>() Method (OpenXmlDocumentElement)
    In This Topic
    Returns the parent (of specified type) of this element.
    Syntax
    'Declaration
    
    Public Function GetParent<T
    The type of element.
    >() As T (Of T
    The type of element.
    As OpenXmlDocumentElement)
    public T GetParent<T>()
    where T: OpenXmlDocumentElement
    
    
    public: T* GetParent<T>()
    where T: OpenXmlDocumentElement*
    
    
    generic<typename T>
    public:
    T^ GetParent() where T: OpenXmlDocumentElement^

    Type Parameters

    T
    The type of element.

    Return Value

    The parent (of specified type) of this element.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also